﻿using System.Diagnostics.Contracts;
using Unity.Entities;
using UnityEngine;

public class TestConvert : MonoBehaviour, IConvertGameObjectToEntity
{
    public TestComponent test;
    public void Convert(Entity entity, EntityManager dstManager, GameObjectConversionSystem conversionSystem)
    {
        dstManager.AddComponentData<TestComponent>(entity, test);
    }
}
